<?php

$issue = $page->issue;
$page->theme = $issue->theme;

if( !$page->error() ):

?>

<?php foreach( $issue->articles as $article ): ?>
<?php   if($file = load::exists($article->url)): ?>
<!-- begin Article -->
<a name="<?= slugify( $article->name) ?>"></a>
<table border="0" cellpadding="0" cellspacing="0" class="Article">
  <tr>
    <td>
      <?= content::get($file) ?>
    </td>
  </tr>
</table>
<!-- end Article -->
<?php   endif ?>
<?php endforeach ?>

<?php else: ?>

<h1>Woops!</h1>
<p>We must have lost that issue</p>
<p><a href="<?php echo url( '/' ) ?>">Return to the archive</a></p>

<?php endif ?>
